package com.yc.booktable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zbh
 * @since 2022-06-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Ubookinfo implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer ubid  ;

    private Long id;

    private Long bid;

    
    public Integer getUbid() {
        return ubid;
    }

      public void setUbid(Integer ubid) {
          this.ubid = ubid;
      }
    
    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public Long getBid() {
        return bid;
    }

      public void setBid(Long bid) {
          this.bid = bid;
      }

    @Override
    public String toString() {
        return "Ubookinfo{" +
              "ubid=" + ubid +
                  ", id=" + id +
                  ", bid=" + bid +
              "}";
    }
}
